import request from '@/utils/request'
// 电表：电流，总有功电量接口
export function getelectricityList(selectTime) {
  return request({
    url: '/iot/electricityList?selectTime=' + selectTime,
    headers: {
      isToken: false
    },
    method: 'get'
  })
}
// 电表：电表采集数据展示(非曲线)
export function getelectricityData() {
  return request({
    url: '/iot/electricityData',
    headers: {
      isToken: false
    },
    method: 'get'
  })
}
// 百叶箱集成采集光照强度
export function getlouverIlluminationList(selectTime) {
  return request({
    url: '/iot/louverIlluminationList?selectTime=' + selectTime,
    headers: {
      isToken: false
    },
    method: 'get'
  })
}
// 设备状态
export function getStateList(id) {
  return request({
    url: '/device/limitQuery?id='+id,
    headers: {
      isToken: false
    },
    method: 'get'
  })
}